import java.util.Scanner;
public class demo5
{
    
    public static void main (String[] args){
        Scanner b = new Scanner(System.in);
        StringBuilder a = new StringBuilder();
        int c = b.nextInt();
        a.append("sjdhabdu ").append("sdihawid ").append(c);
        System.out.println(a);
        a.reverse();
        System.out.println("调转后结果为"+a);
    }

}
